package com.xiangge.demo;

import com.xiangge.domain.Student2;
import com.xiangge.domain.Teacher;

public class OOPDemo1 {
    public static void main(String[] args) {
        System.out.println(new Teacher().name = "jhn");
        Student2 student2 = new Student2();
        student2.name = "bxx";
        student2.age = 18;
        student2.study();
    }
}
